package com.ruoyi.group.service.impl;

import com.ruoyi.group.domain.Communication;
import com.ruoyi.group.mapper.CommunicationMapper;
import com.ruoyi.group.service.CommunicationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: CHL  <br/>
 * @ToDo: 工单沟通实现
 * Date: 2022/3/9:14:43  <br/>
 * Description:
 */
@Service
public class CommunicationServiceImpl implements CommunicationService {
    @Autowired
    CommunicationMapper communicationMapper;
    @Override
    public List<Communication> findComm(int roid) {
        return communicationMapper.findComm(roid);
    }

    @Override
    public int addComm(Communication communication) {
        return communicationMapper.addComm(communication);
    }

    @Override
    public int delCommById(int id) {
        return communicationMapper.delCommById(id);
    }
}
